package angel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@RestController
//@EnableConfigurationProperties(DataCaptureConfiguration.class)
//@MapperScan("angel.mybatis.mapper")
public class BeyondPrototypeApplication {

//    @RequestMapping("/")
//    public String home() {
//    	return "(Beyond Prototype) Hello World @@@";
//    }
  
//    @Bean
//    public CommandLineRunner init(final RepositoryService repositoryService,
//                                  final RuntimeService runtimeService,
//                                  final TaskService taskService) {
//
//        return new CommandLineRunner() {
//            @Override
//            public void run(String... strings) throws Exception {
//                System.out.println("Number of process definitions : "
//                	+ repositoryService.createProcessDefinitionQuery().count());
//                System.out.println("Number of tasks : " + taskService.createTaskQuery().count());
//                runtimeService.startProcessInstanceByKey("oneTaskProcess");
//                System.out.println("Number of tasks after process start: "
//                   + taskService.createTaskQuery().count());
//            }
//        };
//    }

    public static void main(String[] args) {
        SpringApplication.run(BeyondPrototypeApplication.class, args);
    }
}
